solve auto save issue in PM