fix permission of the method