friend window bugfix