fix typo
correctly handle status code 404