fixed date logic in meta form