fix some typos with static conversion