new version which fixed a bug