Bloody hell that was a stupid bug