fixing route map back button click issue