fixed some issues with clearinghouse