workaround for weird bug in requirejs