updated setting of overflow class