fixed a bug with settings module