error handling on comments and notificaitons