fixed another re bug