Fixed issue that modules not work properly