fixed the responsiveness bug