even more serious bug fix