some fixes with parentcode .. blockofcode problem