Delete unnecessary input