Fixed exception if module content is empty