modify compile erros for TypeBuilder