fix trying to loop in null object