bug fix, couldn't compile