bug fixed - curl