wrong html attr fix