dynamic loop working, noapi still doing strange things