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