minor fix for editing previous messages