bug fix attempt