add missing terminator