fix render counter + promise rejects