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