fixed forms error bug