fixed exports error in browser