fix permission post