remove smtoptions from context

**please review**