Bug, when user click at the last class button fixed.