Logic fail
Fix formatting