fixing setting layout