fix macros.py: unnecessary imports