uploading seems to work! callback function does strange things though