fix problem with set custom css classes and drop oldest