curl fixing