amend flex.html