fix for checkindex