removes extraneous div