small refference clean up