fix #101 error checking names