added more helpful error msg