fixing name generation for Maxeler code