Fixed inference typos