[Warehouse Server] Fix duplicated variable name