fix bug: can't run in 4.0 up