Fixed settings file open error