fix boolean properties