terminator error fixed