bug fix in cocktail factory