fix callback when no styles exist