fix more errors mainly height width in examples.R