<sup> and ref clean up