Fix discount template