minor errors involving not enclosing vars in template, default messages, and date formatting