fix urgent bug in 0.7.0