disable button when tracing