fixed bug with getModuleByCoord