Fixing config file for pagination