error bug fixed