updated ghosting module checking