...G...PS. [ZBX-8761] slight code improvement