rename error controllers, catch exceptions