catch resource not found in prime views