redirect problem solved and param removed when redirected