[modules] fix poly osam

variable initialzation only in own block