fixed a bug in item details