fixed nullable html attributes