Fix interpreter bug overriting last line