clear imports on replay (closes #24)