deleted pairings model and fixed table type error