fix backslash and fix chrome compatibility