remove unnecessary clear register