[minor/bug] fix body print in action generator