delete double declaration $opts