rendering is not working