fixed classes toggle problem