fix remove footprint behavior