Fixed bug in passive/active