fix normalize to match regexp synthax + fix hint (normalize before)