fixed activeclass problem