Fix issue with arguments in self security check method