Fix dirty vector