Fixed spy issue in name recipe state.