reset global_sequence if parse pkg fail