fixed polymorphism for module_sqlite class