removed type pattern in query