Fix remove dev code