modify amd
require by sync
if app sync must be true