Missing closing 'fi'