use `.status_code` instead of `.status_code()`

fixes #2