Fix a bug in cross browsers!