fix a issue which id is empty