cleanup in Rainbows.accept definition