changed bug in past.js