fixed parentNode classlist error message