fixed a class-cast exception in the product system editor