A big thump up to RevEng who have solved all troubles in a couple of hours that puzzled me for a long time.