Fix elif  error