move option init from onAttach to onLoad