switched to custom WildcardPermission
fixed errors in wildcard permission