Fixed error with settings declaration