fixes in malloc to make it build again =)