Dirty try/catch to prevent a crash