had a problem with a querry fix