converted mongodb "fields" param to "columns" since "fields" is sent from the model now
fixed a minor error