normalize by Nicolas Gallagher added V3.1