fixing file attribute properties HTML