logger bug fixed