extra fi statement left

There is extra fi statement which breaks the whole code