Fix curl issue #3

prepended self. to curl() calls