layout is now triggered after render process