Fixes error in empty configuration in callback