fixed query and updated readme