removing display and floats