inactivity fix