fixed some inverted booleans