fixed catch-blocks in the controllers