more phi fixes