correct syntax error add missing fi