fix the worst bug ever