fix targethtml files to compile