fix terminator