cleaned up a view things