updating bug in settings layer