cleaning up for old browsers