Fix recipe detection