Fixed setting active page class