fixed duplicate render