add prevent functionKey rule