fixed problem IV