Fixed compile error with settings class