remove permission before filter