make normalize synchronous