1. change some parameters 2. improve performance by invalid machanism