add a case when adaptor is not available, the library sheet export won't fail also fixed a problem with sample sheet import and then output to library sheet wrong column regarding to adaptor