First step debuging: erasing nans