log off compilation error fixed