bug with 267. similarity should be 0 but is 1