fix permission problem