Fixed parsely error catching