bug about matches not being saved fixed