Fix bug with modules helper