keep path intact when redirecting to mobile