cleanup web code