fixed wrong order of generator priorities