refactor setting of <model>.<mount>_type to nil