Fixing check style and lame error