fixed logger
writing game config to file