fixed date tag was added display
helper functions for templates