Removed unused curl methods
Changed  to  in the persits method