fix render local bug