Fixed to set the correct settings