optimized some settings