Remove unnecessary { } and correct indentation