preventing leg locks