fixing problems with views