fix macro ns & missing core import in usage example

Thanks for another very useful tool!