fix incorrect usage of macro