refactor delete message slightly