Clean up views file