Fixes maxptime + ptime that were incorrectly cloned