fixed and cleaned register