made changes in normalize