Weird bug fix