fixed 0.7.0 compilation problem