fix bug with import of removed modules