Fix render
Remove old API