correct settings casting