Fix imports and getResponse bug