Handle settings correctly