fixed another bug in the horizontal lifting