diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py
index 2a3efefc48b945769072548075dff41a5968a099..726eb7eae23297c0e4cc21c28ff4c65d21b8a67c 100644
--- a/io_mesh_pdb/import_pdb.py
+++ b/io_mesh_pdb/import_pdb.py
@@ -878,7 +878,8 @@ def DEF_atom_pdb_main(use_mesh,Ball_azimuth,Ball_zenith,
                     else:
                         dist_n = (all_atoms[atom1-1].location 
                                 - all_atoms[atom2-1].location)
-                        dist_n = Vector((dist_n[1],-dist_n[0],0))                                
+                        dist_n = Vector((dist_n[1],-dist_n[0],0))    
+                        dist_n = dist_n / dist_n.length                             
                 elif number > 3:
                     number = 1
                     dist_n = None