finish string handler