permute, reorder.poly.data.frame, and subscript.default bug fix