fixed a bug about where viewsh looked