fixed active bug