Fixed the Eclipse import function bugs