path should be absolute if base is absolute