fixed bug with unset