fixed check in re-challenge