fixed a bug with production pin uploads