fix of plan rferesh bug