remove lr cruft