fixed errors. cleaning up view