fixed a spurious end that broke my test