increased pagination default
fixed res locals