normalize api