nested replacement in macro is working
small fix