error checking around the config eval