fix mustache template image/text/video modules from printing when empty