fix for Undefined offset error regarding menu management local tasks