fix for exception when trying to remove somevalue or novalue