pop scalar and string results at end of apply