first clear cache and then rebuild options