removed const iterator 'sometimes' that failed the compilation