check for redirections