add NumberDataCommand class
fix bugs.