constructor cleanup