implemented bug fix