fix bug for 1.1