conflict between histoset and functions solved