changed status codes to something sane