fixed insert
fixed undefined renderings