add more error checking
1 file changed