fixed friend syntaxes

Signed-off-by: Tolga HOŞGÖR <fasdfasdas@gmail.com>