fix package reference
Fix hash returning 0 for large strings