usage fix
active pages code broken