fixing the responsiveness