Prevent duplicate hash id