fixed ipn legacy