add clean range and debug queries.
work on package.json