Some quick fix to the import form. Need to be refactored.