fixing week if statement