Fix controller name generation.