weird bug fix