fixed resource freeze after app_not_found error