I just discovered the two peripherals ie ocr1a and ocr1b of timer1 cannot just be used simultaneously to output pwm on their respective pins of avr.
The datasheet doesn't specify this not simulation reveals the problem.
I discovered control value on say ocr1a affects the output on ocr1b.
I have double checked the code, writing to the registers is as per the manufacturer.
Some one with an insight?