Fixed ApplyTOPUP and TOPUP