removed superflous } bug