Support formfilterapi
fix permissions hook