fix permission denied isuess