small changes on dynarray don't worry about that