! bugfix: wrong array
! bugfix: wrong range of date