bugfix on Date array constructor