error checking on web protocol