capifony and html fixes

Double variable assignment