fixed auto-scale on parent elm + cleanup