allow 0 as valid status code