fixed again for day is shown as undefined