changed error layouts