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