Small bugfixed for LD27