docs and macro fix