Modified Fejér sequences and applications