more bug fixes

added active attribute to assignments