make formattedColumns clearer
fix check for perPage - use ALL only when undefined