some fixes for chrome