small fix on theme compact class