Fixed a bug where error messages werent populating sometimes