fixed bug in tmp->opts initialization ( was missing ... oops so sorry