fixed 0 error bug