Fix the conversion also lets catch all exceptions just in case