import and loadProfile fix