added safety check to meta