Fix a warning in chrome