Fixed 'else if' syntax error