Clear some trash in code

clear in inventory ui.