bugfixes and new postmeta for woocommerce