fixed query error
commited changes