Fixed some issues in asset command.