corrected length to reseponseLength