reverse expression logic; fix npe; refresh folders after import