remove inputActive variable