fixing this the Phantom-compatible way