[EBELP-577] refactor helper