fixed some small stuff + a critical bug in malloc... :)