make some adjustments to compatible with linux and production env