detect up.getOption before using it 

1、detect up.getOption before using it 
2、use up.settings instead if up.getOption not exits