fixed bad boolean