handling the case where conf val is undefined

Fix for issue #4861