some housekeeping and redirecting