tried to fix bugs - editing html