cleaned unnecessary inputs