Fixing bugs to the the changes in the normalize creperie sql