terminate message with 0