resolve issue with r and args...