Do not use pathname.