fix get direction button
fix get direction button