fixed classlist detect