fix direction of items