fix boolean props bug