comments error handling