fixed hooks for WooCommerce 2.0 RC