fixed a few issues relating to product group add and edit functionality