week table bugfix