working on bugs with settings file