fix that logic, damn