added some check for correct settings