rendering and orientation improved