fix first time render