fix syntax error in require module