Bug with generating equations