Fixes errors with week data