[FIX] generateHash method works now