logname fix