Fixed a bug with importing settings.