fix all automation problem