remove unnecessary models and correct params permission