Define local_name and use it instead of full_name
Fix: local_name did not work with level > 2