remove redundant checks for to location