fixed custom fn bugs. typing in custom box selects custom in dropdown