fix local version undefined output. closes #737