fix filename confilict bug for mutable_dict
more detail in exception
fix dquery bugs