Fix two simple typos

Just small simple typos got fixed.
There's a typo on `method` as well, could you fix it too?