Avoid thrown exceptions like in #116 during parsings