Fix style

{ for function start should be placed at the head of line.