week range bugfix