date form bug