error checking for non-existent symbols