Cosmetic changes in invoke method

Change-Id: Ib1f51181c430e849dedcef4bac1ebcd366dcc264