two type errors

thanks for sharing this book