redirection bugs resolved