fixed type bug, changed output format also