fixed medium grid query
updates