fixed applying of settings