Fixed bug of settigs.