add a try to find initial dimensions in config file