error checking on tweet page