remove ranger related code