Bugfix - do not append comma if no free vars exist