print empty string for non-existing group references. fixes #7