fixed underlay bug