fixed error in sortable grid