fixed isMongrel2=false case