fix beer factory