changed error div name to format <tablename>_error