check if already write message error