Correct warehouse bug