fixed cl warnings