fix for no units when creating fields