fixing initial load when no configuration exists