fix install app and rename "modules" table in "core_modules"