removed type check on query