dynamic memory fix