Removes pointless import and catches potential parser exception