Bugfixed newly added element being empty