it works locally why not prod