refactoring for limits.conf