remove double functions