Removed unnecessary set direction and fixed bug in clr when direct access.