add modstamps where needed