Fix chrome incompatibility