Removed non-ascii and fixed try-except