fixed validate redirection