fix for web require