fix macro indent and docstring