fixed loggings