Fixed try except