.......PS. [ZBX-7534] changed in few places value to allocated