fix hashlittle calling bug