removed pagination code
updated config