Solved a lot of errors
normalize fixed