bugfix curl options