Fixing many troubles introduced by the TTValue changes