Ending } with no space still failing