Replace emergency drain pan under furnace install safety float switch. Will have to remove existing drain pan. Install and level new emergency drain pan. Re pipe condensate line to appropriate location and Install two safety float switches to prevent any damage in the future.