diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py
index cab63b040f86f65e56363eb632c68be7f1369854..74474c098f13b3253bcafda9361ead8b7703b8ae 100644
--- a/io_mesh_raw/__init__.py
+++ b/io_mesh_raw/__init__.py
@@ -20,7 +20,7 @@ bl_addon_info = {
     'name': 'I/O: Raw mesh',
     'author': 'Anthony D,Agostino (Scorpius), Aurel Wildfellner',
     'version': '0.2',
-    'blender': '2.5.3',
+    'blender': (2, 5, 3),
     'location': 'File > Import/Export > Raw faces ',
     'description': 'Import Raw Faces (.raw format)',
     'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py
index 1b13a934a0cb24d2443333658d029a2ba9a26afb..7f573df7c0ce42f75a45f3ca0eca4873e9b1a1e4 100644
--- a/mesh_surface_sketch.py
+++ b/mesh_surface_sketch.py
@@ -811,6 +811,7 @@ def unregister():
     bpy.types.unregister(GPENCIL_OT_SURFSK_add_surface) 
     bpy.types.unregister(GPENCIL_OT_SURFSK_strokes_to_curves) 
     bpy.types.unregister(VIEW3D_PT_tools_SURF_SKETCH)
+    km = bpy.data.window_managers[0].active_keyconfig.keymaps["3D View"]
     for kmi in km.items:
         if kmi.idname == 'wm.call_menu':
             if kmi.properties.name == "GPENCIL_OT_SURFSK_add_surface":