remove old plugin code