Try and catch to fix parse exception