FIX: wrong check for already loaded modules