amends to display erros styling