more specs for import member and code refactoring