bugfix

- crash if wrong api-key or timeout