append error message instead of flashing an alert