FIX uriResourcePart and uriFragmentPart application code