Fixed a bad catch