pagination
array access
quoting fix