fix bug inserted in d42abd9656849b92a49994064522585ff7f962cc