fixed arangosh printing "undefined"