Fixed error crashing config