error checking in config