fixed duplicate generation in frmItem.php