Fixed dumb bug found by cr0hn