fixed an error with the weeks being calculated incorrectly.