remove unnecciary code