removed memoryleak