finish message at end