more fixes in malloc :)