minor bugfix with settings