fixed use of deprecated method in settings