fixed another pop bug