fixed ipn legancy