Fixed a bug in nuve token registry