fix permission change