fixed ir problem