Fixed pretranslate unexpected type error