remove all the bullshit that isn't required for p990