date helper fix