correct a bug for Lily