Added required curly braces

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>