deprecated render calls fixed