typo fixed in query