fixed issue where loope iterated too many times