fix fetch() message 'ending' for multiple messages