..F....... [ZBX-7839] minor code refactoring