fix avaiable on input reset