fixing delayed response of boxes