Fixing the weeks not sent as a parameter