fix test/production/deployment issue