remove unused import
more informative error message