Fix line drawing
fix reloading of pages