fixed random recipe problem