adds patch so tests pass