Fix bug in not found response