fix item parsing