fix some recipe bugs