fixes pe_ratio so that that value is 'r' not 'r0'