fix differenciation between module and content element