Fixed terminate return value.