fixed FETCH HEAD and improved button time response