Added check for existence of metaIcon object