fix custom tabs