gras: convert macros handle complex as well