fixed a bug and changed dataformat