apply ToPublicUrl