fix whitespace
Allow objects for query and lookup