fixed week number logic