bug fixed on atlas render