settings sample fix