fix for label generator