messed up the check, response.status is a number