Abort drag int undefined environment