remove useless code- no longer compatible with v0.9