fixed bug in settings