Fixing ksguid problem