change redirect to map