updated logger
fixed cardinal