fixing metapackage logic