updated, applied getMacro Method

Signed-off-by: Raf <7909000@gmail.com>