Fixed pegasusq
... looks like I got it wrong before. Hope this fixes freezes.