Bugfix for missing header and status code