fix bug 4.0.4