fix routes and active

if no active workers then pass it as false