- added status 500 when no status is set