fix module syntax error with requires