Fixed a bug where it was try else instead of try except