fix inactivity.