added ability to enable input if it was initially disabled