optimized settings handling