bugfix, set actice false first