fixed small typo

removed "or" between `return` and `<state>`