fixed production env bug