handled bad identifier exceptions