clean up in offsets and hp-renderer