remove leo specific stuff