adjustments for cross browser issues