typo in maxstable function