removed 2.7 error, added ? to query