using empty string instead of undefined when printing meta