fix logic, as is a boolean