db product code type bug fixed