bugfix on today offset