render bugs fixed