properly handle inexistent `to`'s