Fix elif syntax error