Correct linter errors, and http responses