minor fix
improved error logging for config