implemented bug