added conditional view to problems index
errors when add resolve