fixing public pages urls