Fix saveLap method