small.error bug fixed