remove possiblities of nil where it makes sense to