Minor patch for FOAM reinstallation error