option clean-up, converted settings to ts