Remove duplicated code
Disable nms regen again, need to rethink some shit