fix class links not working