bug fix: date formelement vs. empty value