fix wrench bug