clean up views; add sheet check