fixed bug in asset id validating.