fixed code checks