fix theme for older api's