fixed printHash