minor fix
references cleanup