restore job module globals