fix invalid prev_week call