try & except fixed