small fix - remove unused code