removed an iife, fixed editing sessions