Remove useless conditional statement
Handle redirection