Fixed creating item with priority