prevent crash if direction doesn't exist