properly jump over loops that start with a ptr at null.