working on fix warnings.