fix permission view