fixed bugs, added woocommerce support