fixes incompatibilities with woo commerce