make clean use the same way of getting the db
use getRootCommand