fixing lint problem and compile fail