add select columns logic and fix bug of templates/admin/column.html