fixed wrong leg side references