Fix redirection and issue with CSS