fix history (fixed #2)