fix import directory
fix gui integration