End of the set_active bug