Bugfix: error layouts