found and fixed bug with false response check