fixes #1, error handling for no config