if selected different tr remove inputs