bug fix for invalid recipe