yet another fix: status is coming back as a string, not just a code