little revert of memory allocation