fix bug for release 1.0