Weekly period bugfix