Fix rentState bug