fixing diff gen