fix for past functionality