Memory allocation bugfixed