fix #65 by printing an error.