fixing item sales details tbl