added more verbose error message