Fixed minor parsing error for invoke statements